﻿using System;

namespace SampleCode.VirtualFS
{
    /// <summary>
    /// Arguments for 'Folder removed' event
    /// </summary>
    public class FsFolderRemovedEventArgs : EventArgs
    {
        /// <summary>
        /// A ctor
        /// </summary>
        /// <param name="folderName"></param>
        internal FsFolderRemovedEventArgs(string folderName)
        {
            FolderName = folderName;
        }

        /// <summary>
        /// Full path to the folder, that was removed
        /// </summary>
        public string FolderName { get; private set; }
    }

    /// <summary>
    /// A delegate for 'Folder removed' event
    /// </summary>
    /// <param name="sender"></param>
    /// <param name="e"></param>
    public delegate void FsFolderRemovedEventHandler(object sender, FsFolderRemovedEventArgs e);
}
